FernleafSystems\Wordpress\Plugin\Shield\Modules\License\Lib\WpHashes\ApiTokenManager S

Total Complexity 24
Dependencies 3
Dependents 1
Total lines 139
Lines of code 91
Logical lines of code 36
Comment lines 28
Methods 14
Properties 1

Methods 14

Method Rating Maintainability Complexity Lines of code
getToken()
S
51 6 27
run()
S
61 3 14
canRequestNewToken()
S
69 3 7
hasToken()
S
78 2 3
loadToken()
S
62 1 12
getCanRequestOverride()
S
82 1 3
getExpiresAt()
S
80 1 3
getNextAttemptAllowedFrom()
S
80 1 3
getPreviousAttemptAt()
S
80 1 3
isExpired()
S
80 1 3
isNearlyExpired()
S
79 1 3
storeToken()
S
80 1 3
clearToken()
S
81 1 3
setCanRequestOverride()
S
77 1 4